package itsense.client;


import itsense.model.ClientDTO;
import itsense.model.MemberDTO;
import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface BeautySenseServiceAsync {
  public void login(String login,String password,AsyncCallback<MemberDTO> callback);
  public void getMembers(AsyncCallback<List<itsense.model.MemberDTO>> callback);
  public void getClients(AsyncCallback<List<itsense.model.ClientDTO>> callback);
  public void addMember(MemberDTO member,AsyncCallback<MemberDTO> callback);
  public void addClient(ClientDTO member,AsyncCallback<ClientDTO> callback);
  
  public void editMember(String oldLogin, String login,String password,String email, String firstName,String lastName,AsyncCallback<MemberDTO> callback);

  public void removeMember(String login,AsyncCallback<String> callback);

}
